import { Module } from '@nestjs/common';
import { ServeStaticModule } from '@nestjs/serve-static';
import { join } from 'path';
import { ApiModule, ModelModule } from './modules';

@Module({
  imports: [
    ServeStaticModule.forRoot({
      rootPath: join(__dirname, '../', 'resources')
    }),
    ModelModule,
    ApiModule
  ],
  exports: [ServeStaticModule],
})
export class AppModule {}
